package com.iraeta.entity.order;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 礼品订单表
 * </p>
 *
 * @author chenbin
 * @since 2023-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("gift_order")
public class GiftOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    public GiftOrder() {

    }

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 礼品id
     */
    private Integer giftId;

    /**
     * 礼品模版id
     */
    private Integer modelFileid;

    /**
     * 数量
     */
    private Integer shuliang;

    /**
     * 需求日期
     */
    private Date requireDate;

    /**
     * 需求描述
     */
    private String descption;

    /**
     * 订单状态
     */
    private Integer statusId;

    /**
     * 退回原因
     */
    private String returnReason;

    /**
     * 创建人
     */
    private Integer createUserid;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 审核人
     */
    private Integer shenheUserid;

    /**
     * 审核时间
     */
    private Date shenheTime;


}
